package com.mine.async.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

@Setter
@Getter
//@ConfigurationProperties(prefix = "mine.mybatis-plus.auto-fill")
@Component
public class MybatisPlusAutoFillProperties {
    /**
     * 是否开启自动填充字段
     */
    private Boolean enabled = true;
    /**
     * 是否开启了插入填充
     */
    private Boolean enableInsertFill = true;
    /**
     * 是否开启了更新填充
     */
    private Boolean enableUpdateFill = true;
    /**
     * 创建时间字段名
     */
    private String createTimeField = "dateCreated";
    /**
     * 更新时间字段名
     */
    private String updateTimeField = "dateUpdated";

}
